package org.pay.core.service;

import org.pay.core.entity.MchAccountHistory;

import java.util.List;
import java.util.Map;

/**
 * @author: yangshancheng
 * @date: 17/12/4
 * @description:
 */
public interface IMchAccountHistoryService {

    Map selectSettDailyCollect(Long mchId, String collDate, byte fundDirection, int riskDay);

    void updateCompleteSett(Long mchId, String collDate, int riskDay);

    List<MchAccountHistory> select(Long mchId, int offset, int limit, MchAccountHistory mchAccountHistory);

    int count(Long mchId, MchAccountHistory mchAccountHistory);

    List<MchAccountHistory> select(int offset, int limit, MchAccountHistory mchAccountHistory);

    int count(MchAccountHistory mchAccountHistory);

    MchAccountHistory findById(Long id);

    MchAccountHistory findById(Long mchId, Long id);

}
